package com.woniuxy.center.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author 邓粟天，高君诚
 * @since 2020-09-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("USER")
@ApiModel(value="User对象", description="用户表")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    @TableId("USER_ID")
    private String userId;

    @ApiModelProperty(value = "用户名")
    @TableField("USER_NAME")
    private String userName;

    @ApiModelProperty(value = "用户头像")
    @TableField("USER_IMAGE")
    private String userImage;

    @ApiModelProperty(value = "用户密码")
    @TableField("USER_PASSWORD")
    private String userPassword;

    @ApiModelProperty(value = "用户邮箱")
    @TableField("USER_EMAIL")
    private String userEmail;

    @ApiModelProperty(value = "用户联系方式")
    @TableField("USER_PHONE")
    private String userPhone;

    @ApiModelProperty(value = "用户个性签名")
    @TableField("USER_MESSAGE")
    private String userMessage;

    @ApiModelProperty(value = "用户年龄")
    @TableField("USER_AGE")
    private Integer userAge;

    @ApiModelProperty(value = "用户性别")
    @TableField("USER_SEX")
    private String userSex;

    @ApiModelProperty(value = "创建时间")
    @TableField("USER_CREATE_TIME")
    private LocalDateTime userCreateTime;

    @ApiModelProperty(value = "最后修改时间")
    @TableField("USER_UPDATE_TIME")
    private LocalDateTime userUpdateTime;

    @ApiModelProperty(value = "最后登录时间")
    @TableField("USER_LAST_LOGIN_TIME")
    private LocalDateTime userLastLoginTime;

    @ApiModelProperty(value = "用户状态")
    @TableField("USER_STATUS")
    private Integer userStatus;

    @ApiModelProperty(value = "用户真实姓名")
    @TableField("USER_REAL_NAME")
    private String userRealName;

    @ApiModelProperty(value = "用户生日")
    @TableField("USER_BIRTHDAY")
    private LocalDateTime userBirthday;

    @ApiModelProperty(value = "用户积分")
    @TableField("USER_INTEGRAL")
    private Long userIntegral;


}
